cmake_minimum_required(VERSION 3.15)
project(c_study)

set(CMAKE_CXX_STANDARD 14)
add_executable(c_study src/main.cpp include/c_utils.h include/heap_utils.h
        include/linkList.h
        include/dynamicArray.h include/dynamicArray.h include/stack.h include/SeqQueue.h)
add_executable(c_study1 src/c/01.c include/common.h)
add_executable(c_study2 src/c/02.c)
add_executable(c_study3 src/c/file_demo.c)
add_executable(c_study4 src/c/struct_file.c)
add_executable(c_study5 src/c/heap.c)
add_executable(structure  src/c/structure/base.c src/c/structure/lintList.c src/c/structure/dynamicArray.c src/c/structure/stack.c src/c/structure/SeqQueue.c)